package FlowGram.Application.Parser.Actions.Property;

import FlowGram.Application.Parser.FinchParserException;
import FlowGram.Application.Parser.Controllers.FinchController;


/**
 * 
 * @author thackray
 *
 */
public class IsNotBlocked extends PropertyAction {

	@Override
	public boolean getValue(FinchController controller) {
		return !controller.isBlocked();// && !controller.isTapped();
	}

	@Override
	public String toCode(int indent) {
		return "isnotblocked";
	}

	@Override
	public String logMessage() {
		return "isnotblocked";
	}

	@Override
	public void parse(String statement) throws FinchParserException {
		// TODO Auto-generated method stub

	}

}
